
/**
 * copyright(c) 2013 www.jiongshibaoliao.com, All Rights Reserved.
 * project: jiongshibaoliao 
 * author: 曾帅
 * date: 2014-1-9 下午05:15:08
 * version: v1.0
 */

package com.jiongshibaoliao.service;

import com.jiongshibaoliao.exception.JiongException;

/**
 * @project jiongshibaoliao
 * @author 曾帅 
 * @version 1.0
 * @date 2014-1-9 下午05:15:08   
 */

public interface BaseService {

	public <T> void create(T entity);

    public void delete(long id) throws JiongException;

    public <T> void modify(T entity) throws JiongException;

    public Object getEntityById(long id);
}
